/*
 * Copyright 2018-10-18 13:27:49 The JA-SIG Collaborative. All rights reserved.
 * distributed with thi file and available online at
 */
package com.lap.scp.erp.query;

import java.util.Date;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.springframework.format.annotation.DateTimeFormat;

import com.lap.scd.commons.domain.QueryVO;

/**
 * <pre>
 *  物料出库单，记录物料出库的信息 查询条件,专门提供查询使用，请勿当成提交数据保存使用，
 *	如果有必要新增额外领域模型数据，可以单独创建，请勿使用查询对象做提交数据保存
 * </pre>
 * 
 * @author 劳水生 Exp
 * @Date 2018-10-18 13:27:49
 * @since 2.0.0
 */
public class SellOrdersQueryVO extends QueryVO {
	private static final long serialVersionUID = 7166169711380662788L;
	/**
	 * 关联合同表。
	 */
	private Integer qxcontractId;
	/**
	 * 物料名称。
	 */
	private String qxmaterielName;
	/**
	 * 物料规则。
	 */
	private String qxmaterielSpec;
	/**
	 * 出库开始日期
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date qxstartDate;
	/**
	 * 出库结束时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date qxendDate;

	public Integer getQxcontractId() {
		return qxcontractId;
	}

	public void setQxcontractId(Integer qxcontractId) {
		this.qxcontractId = qxcontractId;
	}

	public String getQxmaterielName() {
		return qxmaterielName;
	}

	public void setQxmaterielName(String qxmaterielName) {
		this.qxmaterielName = qxmaterielName != null ? qxmaterielName.trim() : qxmaterielName;
	}

	public String getQxmaterielSpec() {
		return qxmaterielSpec;
	}

	public void setQxmaterielSpec(String qxmaterielSpec) {
		this.qxmaterielSpec = qxmaterielSpec != null ? qxmaterielSpec.trim() : qxmaterielSpec;
	}

	public Date getQxstartDate() {
		return qxstartDate;
	}

	public void setQxstartDate(Date qxstartDate) {
		this.qxstartDate = qxstartDate;
	}

	public Date getQxendDate() {
		return qxendDate;
	}

	public void setQxendDate(Date qxendDate) {
		this.qxendDate = qxendDate;
	}

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}

}
